package com.example.crt_dispatching_center.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Getter;

import java.time.LocalDate;
import java.util.Date;
@Entity
@Getter
public class FlowDaily {
    @Id
    private int id;
    private float flow;
    @Column(columnDefinition = "DATE")
    private LocalDate date;

    public void setId(int id) {
        this.id = id;
    }

    public void setFlow(float flow) {
        this.flow = flow;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }
}
